package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.IndexBasicBean;

/**
* 描述：获取指数基础信息。
* @author: codesmith
**/
@Data
@TableName("index_basic")
public class IndexBasicEntity implements IndexBasicBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`name`") protected String name;

    @TableField("`fullname`") protected String fullname;

    @TableField("`market`") protected String market;

    @TableField("`publisher`") protected String publisher;

    @TableField("`index_type`") protected String indexType;

    @TableField("`category`") protected String category;

    @TableField("`base_date`") protected LocalDate baseDate;

    @TableField("`base_point`") protected Double basePoint;

    @TableField("`list_date`") protected LocalDate listDate;

    @TableField("`weight_rule`") protected String weightRule;

    @TableField("`desc`") protected String desc;

    @TableField("`exp_date`") protected LocalDate expDate;
}